C nested char array change in function with pointers